package com.midian.model.pic;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.midian.model.common.BaseModel;

/**
 * 图片
 * @author Mengfh
 *
 */
@Entity
@Table(name = "pic")
public class Pic extends BaseModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**图片后缀*/
	private String suffix;
	/**宽*/
	private Integer width;
	/**高*/
	private Integer height;
	/**大小*/
	private Integer size;

	public String getSuffix() {
		return suffix;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	public Integer getWidth() {
		return width;
	}
	public void setWidth(Integer width) {
		this.width = width;
	}
	public Integer getHeight() {
		return height;
	}
	public void setHeight(Integer height) {
		this.height = height;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer size) {
		this.size = size;
	}
	@Override
	public String toString() {
		return "Pic [suffix=" + suffix + ", width=" + width + ", height=" + height + ", size=" + size + "]";
	}
	
	
}
